/***************************************************************************//**
 *   @file   no_os_font_8x8.c
 *   @brief  Font style for 8x8 characters.
 *   @author Andrei Porumb (andrei.porumb@analog.com)
********************************************************************************
 * Copyright 2021(c) Analog Devices, Inc.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 *    this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 *    this list of conditions and the following disclaimer in the documentation
 *    and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Analog Devices, Inc. nor the names of its
 *    contributors may be used to endorse or promote products derived from this
 *    software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
 * EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*******************************************************************************/

/******************************************************************************/
/***************************** Include Files **********************************/
/******************************************************************************/
#include <stdint.h>

/* ASCII to bitmap */
const uint8_t no_os_chr_8x8[128][8] = {
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x5f, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00},
	{0x64, 0x3c, 0x26, 0x64, 0x3c, 0x26, 0x24, 0x00},
	{0x26, 0x49, 0x49, 0x7f, 0x49, 0x49, 0x32, 0x00},
	{0x42, 0x25, 0x12, 0x08, 0x24, 0x52, 0x21, 0x00},
	{0x20, 0x50, 0x4e, 0x55, 0x22, 0x58, 0x28, 0x00},
	{0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x1c, 0x22, 0x41, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x41, 0x22, 0x1c, 0x00, 0x00},
	{0x00, 0x15, 0x15, 0x0e, 0x0e, 0x15, 0x15, 0x00},
	{0x00, 0x08, 0x08, 0x3e, 0x08, 0x08, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x50, 0x30, 0x00, 0x00, 0x00},
	{0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00},
	{0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01, 0x00},
	{0x00, 0x3e, 0x41, 0x41, 0x41, 0x3e, 0x00, 0x00},
	{0x00, 0x00, 0x41, 0x7f, 0x40, 0x00, 0x00, 0x00},
	{0x00, 0x42, 0x61, 0x51, 0x49, 0x6e, 0x00, 0x00},
	{0x00, 0x22, 0x41, 0x49, 0x49, 0x36, 0x00, 0x00},
	{0x00, 0x18, 0x14, 0x12, 0x7f, 0x10, 0x00, 0x00},
	{0x00, 0x27, 0x49, 0x49, 0x49, 0x71, 0x00, 0x00},
	{0x00, 0x3c, 0x4a, 0x49, 0x48, 0x70, 0x00, 0x00},
	{0x00, 0x43, 0x21, 0x11, 0x0d, 0x03, 0x00, 0x00},
	{0x00, 0x36, 0x49, 0x49, 0x49, 0x36, 0x00, 0x00},
	{0x00, 0x06, 0x09, 0x49, 0x29, 0x1e, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x52, 0x30, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x08, 0x14, 0x14, 0x22, 0x00, 0x00},
	{0x00, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x00},
	{0x00, 0x00, 0x22, 0x14, 0x14, 0x08, 0x00, 0x00},
	{0x00, 0x02, 0x01, 0x59, 0x05, 0x02, 0x00, 0x00},
	{0x3e, 0x41, 0x5d, 0x55, 0x4d, 0x51, 0x2e, 0x00},
	{0x40, 0x7c, 0x4a, 0x09, 0x4a, 0x7c, 0x40, 0x00},
	{0x41, 0x7f, 0x49, 0x49, 0x49, 0x49, 0x36, 0x00},
	{0x1c, 0x22, 0x41, 0x41, 0x41, 0x41, 0x22, 0x00},
	{0x41, 0x7f, 0x41, 0x41, 0x41, 0x22, 0x1c, 0x00},
	{0x41, 0x7f, 0x49, 0x49, 0x5d, 0x41, 0x63, 0x00},
	{0x41, 0x7f, 0x49, 0x09, 0x1d, 0x01, 0x03, 0x00},
	{0x1c, 0x22, 0x41, 0x49, 0x49, 0x3a, 0x08, 0x00},
	{0x41, 0x7f, 0x08, 0x08, 0x08, 0x7f, 0x41, 0x00},
	{0x00, 0x41, 0x41, 0x7F, 0x41, 0x41, 0x00, 0x00},
	{0x30, 0x40, 0x41, 0x41, 0x3F, 0x01, 0x01, 0x00},
	{0x41, 0x7f, 0x08, 0x0c, 0x12, 0x61, 0x41, 0x00},
	{0x41, 0x7f, 0x41, 0x40, 0x40, 0x40, 0x60, 0x00},
	{0x41, 0x7f, 0x42, 0x0c, 0x42, 0x7f, 0x41, 0x00},
	{0x41, 0x7f, 0x42, 0x0c, 0x11, 0x7f, 0x01, 0x00},
	{0x1c, 0x22, 0x41, 0x41, 0x41, 0x22, 0x1c, 0x00},
	{0x41, 0x7f, 0x49, 0x09, 0x09, 0x09, 0x06, 0x00},
	{0x0c, 0x12, 0x21, 0x21, 0x61, 0x52, 0x4c, 0x00},
	{0x41, 0x7f, 0x09, 0x09, 0x19, 0x69, 0x46, 0x00},
	{0x66, 0x49, 0x49, 0x49, 0x49, 0x49, 0x33, 0x00},
	{0x03, 0x01, 0x41, 0x7f, 0x41, 0x01, 0x03, 0x00},
	{0x01, 0x3f, 0x41, 0x40, 0x41, 0x3f, 0x01, 0x00},
	{0x01, 0x0f, 0x31, 0x40, 0x31, 0x0f, 0x01, 0x00},
	{0x01, 0x1f, 0x61, 0x14, 0x61, 0x1f, 0x01, 0x00},
	{0x41, 0x41, 0x36, 0x08, 0x36, 0x41, 0x41, 0x00},
	{0x01, 0x03, 0x44, 0x78, 0x44, 0x03, 0x01, 0x00},
	{0x43, 0x61, 0x51, 0x49, 0x45, 0x43, 0x61, 0x00},
	{0x00, 0x00, 0x7f, 0x41, 0x41, 0x00, 0x00, 0x00},
	{0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00},
	{0x00, 0x00, 0x41, 0x41, 0x7f, 0x00, 0x00, 0x00},
	{0x00, 0x04, 0x02, 0x01, 0x01, 0x02, 0x04, 0x00},
	{0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00},
	{0x00, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x34, 0x4a, 0x4a, 0x4a, 0x3c, 0x40, 0x00},
	{0x00, 0x41, 0x3f, 0x48, 0x48, 0x48, 0x30, 0x00},
	{0x00, 0x3c, 0x42, 0x42, 0x42, 0x24, 0x00, 0x00},
	{0x00, 0x30, 0x48, 0x48, 0x49, 0x3f, 0x40, 0x00},
	{0x00, 0x3c, 0x4a, 0x4a, 0x4a, 0x2c, 0x00, 0x00},
	{0x00, 0x00, 0x48, 0x7e, 0x49, 0x09, 0x00, 0x00},
	{0x00, 0x26, 0x49, 0x49, 0x49, 0x3f, 0x01, 0x00},
	{0x41, 0x7f, 0x48, 0x04, 0x44, 0x78, 0x40, 0x00},
	{0x00, 0x00, 0x44, 0x7d, 0x40, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x40, 0x44, 0x3d, 0x00, 0x00, 0x00},
	{0x41, 0x7f, 0x10, 0x18, 0x24, 0x42, 0x42, 0x00},
	{0x00, 0x40, 0x41, 0x7f, 0x40, 0x40, 0x00, 0x00},
	{0x42, 0x7e, 0x02, 0x7c, 0x02, 0x7e, 0x40, 0x00},
	{0x42, 0x7e, 0x44, 0x02, 0x42, 0x7c, 0x40, 0x00},
	{0x00, 0x3c, 0x42, 0x42, 0x42, 0x3c, 0x00, 0x00},
	{0x00, 0x41, 0x7f, 0x49, 0x09, 0x09, 0x06, 0x00},
	{0x00, 0x06, 0x09, 0x09, 0x49, 0x7f, 0x41, 0x00},
	{0x00, 0x42, 0x7e, 0x44, 0x02, 0x02, 0x04, 0x00},
	{0x00, 0x64, 0x4a, 0x4a, 0x4a, 0x36, 0x00, 0x00},
	{0x00, 0x04, 0x3f, 0x44, 0x44, 0x20, 0x00, 0x00},
	{0x00, 0x02, 0x3e, 0x40, 0x40, 0x22, 0x7e, 0x40},
	{0x02, 0x0e, 0x32, 0x40, 0x32, 0x0e, 0x02, 0x00},
	{0x02, 0x1e, 0x62, 0x18, 0x62, 0x1e, 0x02, 0x00},
	{0x42, 0x62, 0x14, 0x08, 0x14, 0x62, 0x42, 0x00},
	{0x01, 0x43, 0x45, 0x38, 0x05, 0x03, 0x01, 0x00},
	{0x00, 0x46, 0x62, 0x52, 0x4a, 0x46, 0x62, 0x00},
	{0x00, 0x00, 0x08, 0x36, 0x41, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x00},
	{0x00, 0x00, 0x00, 0x41, 0x36, 0x08, 0x00, 0x00},
	{0x00, 0x18, 0x08, 0x08, 0x10, 0x10, 0x18, 0x00},
	{0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55}
};
